//
//  ApiTest.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/27.
//  
  

#import "ApiTest.h"

@implementation ApiTest

+ (void)test {
//    [SMSRequestProvider requestSmsWithPhoneNumber:@"" success:^(BOOL success) {
//
//    } failure:^(NSError * _Nonnull error) {
//
//    }];
//
//    [LoginRequestProvider requestLoginWithPhoneNumber:@"" code:@"" success:^(LoginModel * _Nonnull model) {
//        NSLog(@"token: ", model.ways);
//        [ProductApplyRequestProvider requestProductApplyWithProductID:@"" success:^(HomeModel * _Nonnull model) {
//            NSLog(@"token: ");
//        } failure:^(YTKRequest * _Nonnull request) {
//            NSLog(@"token: %@", request);
//        }];
//    } failure:^(YTKRequest * _Nonnull request) {
//        //NSLog(@"token: ", model.ways);
//        [ResponseToast showToastWithRequest:request];
//    }];
//
//    [LogoutRequestProvider requestLogoutWithSuccess:^(BOOL success) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//
//    [TerminateRequestProvider requestTerminateWithSuccess:^(BOOL success) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//
//    [HomeRequestProvider requestHomeWithSuccess:^(HomeModel * _Nonnull model) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [ProductApplyRequestProvider requestProductApplyWithProductID:@"" success:^(HomeModel * _Nonnull model) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//
//    [ProductDetailRequestProvider requestProductDetailWithProductID:@"" success:^(HomeModel * _Nonnull model) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//
//    /**
//     #import "Item1OCRRequestProvider.h"
//     #import "Item1UserInfoRequestProvider.h"
//     #import "Item1MediaUploadRequestProvider.h"
//     */
//    [Item1OCRRequestProvider requestOCRWithSuccess:^(HomeModel * _Nonnull model) {
//
//    } failure:^(YTKRequest * _Nonnull request) {
//
//    }];
//    [Item1UserInfoRequestProvider requestGetUserInfoWithProductID:@"" success:^(HomeModel * _Nonnull model) {
//
//    } failure:^(YTKRequest * _Nonnull request) {
//
//    }];
//    [Item1MediaUploadRequestProvider requestUploadMediaWithImageSource:@"" productId:@"" peppers:@"" image:nil cardType:@"" success:^(NSDictionary * _Nonnull dict) {
//
//    } failure:^(YTKRequest * _Nonnull request) {
//
//    }];
    //    // item1
    //    #import "Item1OCRRequestProvider.h"
    //    #import "Item1UserInfoRequestProvider.h"
    //    #import "Item1MediaUploadRequestProvider.h"
    //    // item2
    //    #import "Item2UserInfoRequestProvider.h"
    //    // item3
    //    #import "Item3UserWorkRequestProvider.h"
    //    // item4
    //    #import "Item4UserContactRequestProvider.h"
    //    // item5
    //    #import "Item5UserBindCardRequestProvider.h"
//    [Item2UserInfoRequestProvider requestItem2GetUserInfoWithProductID:@"" success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [Item3UserWorkRequestProvider requestUserWorkWithProductID:@"" success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [Item4UserContactRequestProvider requestUserContactWithProductID:@"" success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [Item5UserBindCardRequestProvider requestUserBindCardWithNewCard:NO success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
    
    
//    [OrderFollowRequestProvider requestOrderFollowWithOrderId:@"" success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//
//    埋点
//    [ContactRequestProvider requestTrackWithContacts:@[@{}] success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [DeviceRequestProvider requestTrackWithDeviceInfo:@{} success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [GoogleMarketRequestProvider requestGoogleMarketTrackWithProductID:(NSString *)productId type:(NSInteger)type stime:(NSInteger)stime etime:(NSInteger)etime success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    TrackLocationModel *model = [TrackLocationModel new];
//    [LocationRequestProvider requestTrackWithLocation:model success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
//    [RiskControlRequestProvider requestTrackWithRiskControl:@"" scene:@"1" start:@"" end:@"" success:^(NSDictionary * _Nonnull dict) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
    
//    [AddressRequestProvider requestAddressWithSuccess:^(NSArray * _Nonnull arr) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
    
//    [BankCardRequestProvider requestBankCardWithSuccess:^(NSArray * _Nonnull arr) {
//        NSLog(@"token: ");
//    } failure:^(YTKRequest * _Nonnull request) {
//        NSLog(@"token: %@", request);
//    }];
}
@end
